using Newtonsoft.Json;

namespace WebPrinter.Library.DaQu.Result
{
    /// <summary>
    /// 打印机状态结果数据
    /// </summary>
    public class PrinterStatusResultData
    {
        /// <summary>
        /// 在线状态 0/1
        /// </summary>
        [JsonProperty("onlineStatus")]
        public int OnlineStatus { get; set; }

        /// <summary>
        /// 设备状态（参见PrinterWorkStatusConstants）
        /// </summary>
        [JsonProperty("workStatus")]
        public int WorkStatus { get; set; }

        /// <summary>
        /// 设备状态说明
        /// </summary>
        [JsonProperty("workStatusDesc")]
        public string WorkStatusDesc { get; set; }
    }
}